/* RT-Thread config file */

#ifndef __RTTHREAD_CFG_H__
#define __RTTHREAD_CFG_H__

#include "app_config.h"

#define RT_NAME_MAX     8
#define RT_THREAD_PRIORITY_MAX  32
#define RT_TICK_PER_SECOND  100
#define RT_ALIGN_SIZE   4

#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN      // 一般必须开启，否则需要自己调用一系列初始化
#define RT_MAIN_THREAD_STACK_SIZE     512

// #define RT_DEBUG
// #define RT_DEBUG_INIT 0
// #define RT_USING_OVERFLOW_CHECK

//#define RT_USING_HOOK
//#define RT_USING_IDLE_HOOK

// #define RT_USING_TIMER_SOFT
// #define RT_TIMER_THREAD_PRIO        4
// #define RT_TIMER_THREAD_STACK_SIZE  512

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
//#define RT_USING_EVENT
//#define RT_USING_MAILBOX
//#define RT_USING_MESSAGEQUEUE

// #define RT_USING_MEMPOOL
#define RT_USING_HEAP
#define RT_USING_SMALL_MEM

#define RT_USING_TINY_SIZE  // 是否使用 小体积的算法，牵扯到 rt_memset、rt_memcpy 所产生的体积
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE          128

#if APP_SELECT_EXAMPLE != 0
#include "finsh_config.h"
#endif


#endif
